package cn.tedu.front.details.pojo.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("job_detail")
public class JobDetail {
    private Long id;//数据id
    private String title;//职位标题
    private String post;//职位描述
    private String jobRequire;//岗位需求
    private Long userId;//发布者id
    private Long companyId;//公司id
    private Long postTypeId;//职位类型id
    private String jobType;//求职类型
    private String degree;//学历
    private String experience;//经验
    private String salary;//薪资
    private String keyword;//关键词

    /**
     * 数据创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    /**
     * 数据最后修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;
}
